git stage
命令手册Add file contents to the staging area. Synonym of
git add
. More information: https://git-scm.com/docs/git-stage.
git stage {{path/to/file}}
git stage -A
git stage -u
git stage -f
git stage -p
git stage -p {{path/to/file}}
git stage -i